package com.csj.lc.mapper;

import com.csj.lc.entity.Company;
import com.csj.lc.entity.Operation;
import com.csj.lc.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OperationMapper {

    boolean insert(Operation operation);

    Operation queryById(int operationId);

    List<Operation> queryByUid(int userId);

}
